package cn.iocoder.yudao.module.lowcode.controller.admin.script.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

@Schema(description = "管理后台 - Groovy 脚本验证 Request VO")
@Data
public class GroovyScriptValidateReqVO {

    @Schema(description = "脚本内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "脚本内容不能为空")
    @Size(max = 65535, message = "脚本内容长度不能超过65535个字符")
    private String scriptContent;

}